package br.edu.udc.JMonster.business.DataTransferObject;

import java.util.Date;

/**
 * 2008 - ApolloTi Desenvolvimento de Software LTDA. 
 * Todos os direitos reservados.
 * 
 * @author Rodrigo P. Fraga
 * @email rodrigo@apollo-ti.com
 * @since 10/03/2008
 * @version 1.0
 * @category EntityType
 */
public abstract class AbstractPersistentObject
{
	/*-------------------------------------------------------------------
	 * 		 					ATTRIBUTES
	 *-------------------------------------------------------------------*/
	protected Integer id;
	protected Date dtCadastro;
	protected Date dtAlteracao;
	/*-------------------------------------------------------------------
	 * 		 					CONSTRUCTOR
	 *-------------------------------------------------------------------*/    

	/*-------------------------------------------------------------------
	 *				 	    	GET'S AND SET'S
	 *-------------------------------------------------------------------*/
	public Integer getId()
	{
		return id;
	}
	public void setId(Integer id)
	{
		this.id = id;
	}
	public Date getDtCadastro()
	{
		return dtCadastro;
	}
	public void setDtCadastro(Date dtCadastro)
	{
		this.dtCadastro = dtCadastro;
	}
	public Date getDtAlteracao()
	{
		return dtAlteracao;
	}
	public void setDtAlteracao(Date dtAlteracao)
	{
		this.dtAlteracao = dtAlteracao;
	}
}